package com.springboot.framework.controller.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author SWF
 * @Date 2019/6/10 17:16
 **/
@Data
public class ProductUpdateBean {

    @NotNull(message = "参数错误")
    private Integer id;

    private Integer shopId;

    private Integer categoryId;

    private String name;

    private BigDecimal price;
    /**
     * 促销语
     */
    private String promotion;
}
